import { defineStore } from "pinia";
export const useCourseStore = defineStore("course", {
  state: () => ({
    activeCourseId: null,
    searchText: "",
  }),
  getters: {},
  actions: {
    setCourseId(id) {
      this.activeCourseId = id;
    },
    setSearchText(text) {
      this.searchText = text;
    },
  },
});
